// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'mint-ui/lib/style.css'
import MintUI from 'mint-ui'
import './assets/mui/css/mui.css'
import './assets/font-awesome-4.7.0/css/font-awesome.min.css'
import './style/main.css'
import axios from 'axios'
 import moment from "moment"//全局过滤器 
//什么情况下用全局  运用到的东西多时直接用全局 少的就直接局部就行
// import VuePreview from 'vue-preview'
axios.defaults.baseURL='http://www.liulongbin.top:3005'
Vue.prototype.axios=axios;
// Vue.use(VuePreview)
Vue.config.productionTip = false
Vue.use(MintUI)
Vue.filter('fmtTime',function(date,fmt){
  return moment(date).format(fmt)
})
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
